title: print variable using javascript template
body: <p>I am using jquery file upload by <a href="https://blueimp.github.io/jQuery-File-Upload/" rel="nofollow">blueimp.net</a></p>
  
  <p>I want to add dynamic id to the table row as in javascript template section.
      for example let say i am uploading 3 file together and my template code below</p>
  
  <pre><code>  &lt;script id="template-upload" type="text/x-tmpl"&gt;
    {% for (var i=0, file; file=o.files[i]; i++) { %}
    &lt;tr class="template-upload fade" id="{%=i%}_files"&gt;
  </code></pre>
  
  <p>I want it to give HTML/output as..</p>
  
  <pre><code>&lt;tr class="template-upload fade" id="0_files"&gt;
  &lt;tr class="template-upload fade" id="1_files"&gt;
  &lt;tr class="template-upload fade" id="2_files"&gt;
  </code></pre>
  
  <p>How can I achieve this!</p>