title: How to pass variable into javascript template?
body: <p>I trying to learn js templates and wrote following page:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
   &lt;html&gt;
   &lt;head&gt;
     &lt;meta charset="utf-8"&gt;
     &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
     &lt;script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/0.9.0/lodash.js"&gt;&lt;/script&gt;
  
   &lt;/head&gt;
   &lt;body&gt;
  
   &lt;div id="helloDiv"&gt;init text&lt;/div&gt;
  
  
  &lt;script type="text/template" id="test"&gt;
  &lt;% hello world %&gt;!
  &lt;/script&gt;
  &lt;script&gt;
  
  
  $('#helloDiv').html( 
    _.template( $('#test').html().trim(),world : 'EARTH') 
  );
  
  &lt;/script&gt;
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Expected behaviour: I want to see <code>hello EARTH!</code></p>
  
  <p>But I see <code>init text</code></p>
  
  <p>What do I wrong?</p>