title: nodejs and jade, object is not defined
body: <p>I'm using node js, jade, and drywall (account management system) and I'm including a <code>stripe</code> script in my <code>views/signup/index.jade</code> file, like this:</p>
  
  <pre><code>extends ../../layouts/default
  
  block head
    title Sign Up
  
  block neck
    link(rel='stylesheet', href='/views/signup/index.min.css?#{cacheBreaker}')
  
  block feet
    script(src='/views/signup/index.min.js?#{cacheBreaker}')
    script(src='src="https://js.stripe.com/v2/"')
    script
      Stripe.setPublishableKey('pk_test_4ZVxtJ6e1uJJxWi2L6QWL8Hq');
  </code></pre>
  
  <p>And in my <code>public/views/index.js</code> file I'm calling this function</p>
  
  <pre><code>Stripe.card.createToken($form, stripeResponseHandler);
  </code></pre>
  
  <p>However, I get the error <code>Stripe is not defined.</code> (meaning that the <code>Stripe script</code> I imported isn't being acccesed in the file that I'm in). So I thought to move the script tag to my <code>layouts/default.jade</code> file and put it in the head so it would appear in the head of every document, but still no luck. Any ideas on what I'm doing wrong?</p>