title: jade and client side javascript
body: <p>I just started learning Express for nodejs using jade as a rendering engine, i have views and routes</p>
  
  <p>Here are my views</p>
  
  <p>layout.jade</p>
  
  <pre><code>  doctype html
      html
        head
          title= title
          link(rel='stylesheet', href='/stylesheets/style.css')
          link(href='/themes/bootstrap.min.css', rel='stylesheet')
          script(src='/javascripts/mygridwidjet.js', type='text/javascript')
        body
      block content
  </code></pre>
  
  <p>index.jade</p>
  
  <pre><code>extends layout
  
      block content
        h1= title
        p Welcome to #{title}
            .content-container-fluid
            .row
                .cols-sample-area
                    #Grid
  </code></pre>
  
  <p>and here are my routes</p>
  
  <p>index.js</p>
  
  <pre><code>exports.index = function(req, res){
    res.render('index', { title: 'Football Archive' });
  };
  </code></pre>
  
  <p>and i wrote my client side javascript which interacts with the <code>#Grid</code></p>
  
  <p>now i am really confused about where to put the client side javascript.</p>
  
  <p>ps: i am a total noob, sorry if this question is so stupid.</p>