title: Grunt JS - Helper for Ajax
body: <p>i have a code like this </p>
  
  <p>index.js </p>
  
  <pre><code>var content = ['a', 'b', 'c', 'f'];
  var $body = $(document.body);
  var c = '';
  for (var i = 0; i &lt; content.length; i++) {
     c += '&lt;div&gt;' + content[i] + '&lt;/div&gt;';
  }
  
  $body.append(c);
  </code></pre>
  
  <p>index.html</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;script src="index.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>can I automate this process? And Build a index.html with contents? </p>