title: Accessing handlebars variable via javascript
body: <p>I'm generating a handlebars view for express js framework, and I need to access the variables I pass to the view from inside a separate JavaScript file.</p>
  
  <p>For example:</p>
  
  <pre><code>var foo = {{user.name}}
  </code></pre>
  
  <p>Someone got an idea? Helper?</p>