title: script src becomes a url in jade with nodejs + express
body: <p>I am working on a web application with nodejs + jade.</p>
  
  <p>I want to include a js file into my jade page. But it doesn't work as I thought it should do.</p>
  
  <p>I include three js files:</p>
  
  <pre><code>script(src='//cdn.bootcss.com/jquery/1.11.3/jquery.min.js')
  script(src='//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js')
  script(src="async.js")
  </code></pre>
  
  <p>The first two work well (bootstrap files). But the browser will claim at the third one "GET http://127.0.0.1:3000/sample/auth/async.js 404 (Not Found)". It seems that some thing changes the src to a url with the base url "http://127.0.0.1:3000/sample/auth/"</p>
  
  <p>"127.0.0.1" is localhost and port "3000" is the port the server is listening to, and "<a href="http://127.0.0.1:3000/sample" rel="nofollow">http://127.0.0.1:3000/sample</a>" is the entrance of my web application.</p>
  
  <p>So I guess there is a configuration in the project to force the src be a url like that. And I don't know how to include local js files. Can anyone help? Thanks!</p>