title: node.js express rendering inside included js files
body: <p>Lets say I have a simple view</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;something&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;%= param %&gt;
    &lt;/body&gt;
    &lt;script type="text/javascript" src="myscript.js"&gt;&lt;/script&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And here's <code>myscript.js</code>
  </p>
  
  <pre><code>$(function() {
    var p = &lt;%= param %&gt;
  }
  </code></pre>
  
  <p>Can I make express rendering engine (in this case <code>ejs</code>) render inside <code>myscript.js</code> ?</p>