title: Jade button and jQuery click event
body: <p>I don't get why it's not working...</p>
  
  <p>I have this index.jade file:</p>
  
  <pre><code>!!! 5
  html
    head
      link(rel='stylesheet', href='/stylesheets/style.css')
      script(src="/javascripts/jquery-1.8.2.js")
             script
         $("#rollButton").click(function() {
            alert("sas");
         });
    body
       input#rollButton(type="button", value="Roll")
  </code></pre>
  
  <p>It should pop up the alert! What am I missing?</p>
  
  <p>Generated HTML seems OK:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;link rel="stylesheet" href="/stylesheets/style.css"&gt;
  &lt;script src="/javascripts/jquery-1.8.2.js"&gt;&lt;/script&gt;
  &lt;script src="/socket.io/socket.io.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  $("#rollButton").click(function() {
    alert("sas");
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;input id="rollButton" type="button" value="Roll"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>