title: Where do you put your javascript?
body: <p>Do you localize your javascript to the page, or have a master "application.js" or similar?</p>
  
  <p>If it's the latter, what is the best practice to make sure your .js isn't executing on the wrong pages?</p>
  
  <p>EDIT: by javascript I mean custom javascript you write as a developer, not js libraries. I can't imagine anyone would copy/paste the jQuery source into their page but you never know.</p>