title: Express-Handlebars block helper doesn't process local data
body: <p>I am trying to make a dynamic input selector using Handlebars block helper.
  The code below works when run on a Handlebars tutorial site [<a href="http://www.javascriptoo.com/handlebars-js]" rel="nofollow">http://www.javascriptoo.com/handlebars-js]</a>, or when inserted into a normal html web page.</p>
  
  <pre><code>&lt;td&gt;
  &lt;div id="placeHolder"&gt;testing&lt;/div&gt;
      &lt;script id="siteOptions" type="text/x-handlebars-template"&gt;
          &lt;select&gt;
         {{#each options}}
             {{this.key}}
             &lt;option {{this.hidden}}&gt;{{this.optName}}&lt;/option&gt;
         {{/each}}
          &lt;/select&gt;
      &lt;/script&gt;
  &lt;/td&gt;
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs /jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.rc.1/handlebars.min.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
      var source = document.getElementById("siteOptions").innerHTML;
      var template = Handlebars.compile(source);
      var myData = {
          options: [
              { "hidden":"hidden","name": "Company" },
              { "hidden":"","optName": "Plant" },
              { "hidden":"","optName": "Area" },
              { "hidden":"","optName": "Machine" }
          ]
      };
      console.log("myData: "+myData.options[2].optName);
      console.log("myObj: "+ template(myData.options));
      document.getElementById("placeHolder").innerHTML = template(myData);
  </code></pre>
  
  <p>In both Firefox and Chrome I end up with an empty </p>
  
  <p>The two console.log() below shows: </p>
  
  <pre><code>console.log("myData: "+myData.options[2].optName);// Area ,Proves data is there
  console.log("myObj: "+ template(myData.options));//&lt;select&gt;[empty]&lt;/select&gt;
  </code></pre>
  
  <p>What could possibly be stopping it from working in FF and Chrome?</p>