title: Unexpected String, What's wrong in this code?
body: <p>I get error when I run the below initialization</p>
  
  <pre><code>var data = "&lt;div class='modal fade' id='add_image"+id+"' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'&gt; &lt;div class='modal-dialog'&gt; &lt;div class='modal-content'&gt; &lt;div class='modal-body'&gt; &lt;button type='button' id='close"+id+"' class='close' data-dismiss='modal'&gt;&lt;span aria-hidden='true'&gt;&amp;times;&lt;/span&gt;&lt;span class='sr-only'&gt;Close&lt;/span&gt;&lt;/button&gt; &lt;ul id='tabs' class='nav nav-tabs' data-tabs='tabs'&gt; &lt;li class='active'&gt;&lt;a href='#upload"+id+"' data-toggle='tab'&gt;&lt;span class='glyphicon glyphicon-open'&gt;&lt;/span&gt; Upload&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href='#search"+id+"' data-toggle='tab'&gt;&lt;span class='glyphicon glyphicon-search'&gt;&lt;/span&gt; Search&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div id='my-tab-content' class='tab-content'&gt; &lt;div class='tab-pane active' id='upload"+id+"'&gt; &lt;center&gt; &lt;p class='lead' id='q_upload_result"+id+"'&gt;&lt;/p&gt; &lt;input type='file' name='ques_image"+id+"' id='ques_image"+id+"' data-imgfile=""+id+"" style='visibility:hidden;' onchange='showimagepreview(this);'&gt; &lt;button type='button' id='file_trigger"+id+"' data-tid='"+id+"' class='btn btn-primary'&gt;&lt;span class='glyphicon glyphicon-folder-open' onclick='trigger_up(this);'&gt;&lt;/span&gt; Browse&lt;/button&gt; &lt;/center&gt; &lt;/div&gt; &lt;div class='tab-pane' id='search"+id+"'&gt; &lt;br&gt; &lt;input id='q_search"+id+"' name='q"+id+"' type='text' class='form-control' placeholder='search here..'&gt;&lt;hr&gt; &lt;span id='img_res"+id+"'&gt;&lt;/span&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;";
  </code></pre>
  
  <p>for readability:</p>
  
  <pre><code>var data = "&lt;div class='modal fade' id='add_image"+id+
      "' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'&gt; &lt;div class='modal-dialog'&gt; &lt;div class='modal-content'&gt; &lt;div class='modal-body'&gt; &lt;button type='button' id='close"+
      id+"' class='close' data-dismiss='modal'&gt;&lt;span aria-hidden='true'&gt;&amp;times;&lt;/span&gt;&lt;span class='sr-only'&gt;Close&lt;/span&gt;&lt;/button&gt; &lt;ul id='tabs' class='nav nav-tabs' data-tabs='tabs'&gt; &lt;li class='active'&gt;&lt;a href='#upload"+
      id+"' data-toggle='tab'&gt;&lt;span class='glyphicon glyphicon-open'&gt;&lt;/span&gt; Upload&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href='#search"+id+"' data-toggle='tab'&gt;&lt;span class='glyphicon glyphicon-search'&gt;&lt;/span&gt; Search&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;div id='my-tab-content' " +
      " class='tab-content'&gt; &lt;div class='tab-pane active' id='upload"+id+"'&gt; &lt;center&gt; &lt;p class='lead' id='q_upload_result"+
      id+"'&gt;&lt;/p&gt; &lt;input type='file' name='ques_image"+
      id+"' id='ques_image"+
      id+"' data-imgfile=""+
      id+"" style='visibility:hidden;' onchange='showimagepreview(this);'&gt; &lt;button type='button' id='file_trigger"+id+"' data-tid='"+
      id+"' class='btn btn-primary'&gt;&lt;span class='glyphicon glyphicon-folder-open' onclick='trigger_up(this);'&gt;&lt;/span&gt; Browse&lt;/button&gt; &lt;/center&gt; &lt;/div&gt; &lt;div class='tab-pane' id='search"+
      id+"'&gt; &lt;br&gt; &lt;input id='q_search"+id+"' name='q"+id+"' type='text' class='form-control' placeholder='search here..'&gt;&lt;hr&gt; &lt;span id='img_res"+id+"'&gt;&lt;/span&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;";
  </code></pre>