Checking if a included javascript file is actually needed
<p>I'm more or less building a new design into some software and to retain the functionality of some of the page features I need to keep some of the javascript files the system uses; however it appears the software uses a global header to include all the <code>.js</code> files and to cut down on http requests I was only wanting to include them when the page actually needed them.</p>

<p>However without actually pining through the code of each page, is there a quicker method you can use to test if the page actually <em>needs</em> to have a certain <code>.js</code> file included or not!?</p>
