title: How to use client side Jquery with Node.js and Jade?
body: <p>I am trying to put jquery code on the home page of my node.js app. This is what I have so far: </p>
  
  <pre><code>  script(type='text/javascript' src='public/javascripts/jquery-min.js')
    script.
      $( document ).ready(function() {
        alert('hello');
  
      });
  </code></pre>
  
  <p>which generates this html</p>
  
  <pre><code>&lt;script type="text/javascript" src="public/javascripts/jquery-min.js"&gt;&lt;/script&gt;
  
  
  &lt;script&gt;$( document ).ready(function() {
    alert('hello'); 
  
  }); 
  
  &lt;/script&gt;
  </code></pre>
  
  <p>yet I get no alert when my app starts. Additionally, when I try and visit that resource directly at <code>http://localhost:3000/public/javascripts/jquery-min.js</code> I get an error: <code>Cannot GET /public/javascripts/jquery-min.js</code></p>
  
  <p>Is this expected? Is there something I have to do so that the jquery code is accessible from my app?</p>