jQuery is already loaded by the Layout page, as part of "~/scripts/all" at the end. The trick is that the stats page needs to invoke its inline script AFTER jQuery is loaded (which is after the rest of the page loads).

My suggestion is this:
1. Remove the script tags from Home.html
2. Add stats.js to our default script bundle (~/Scripts/All, defined in AppActivator.cs), it's small and will be minified. Make sure it comes AFTER jQuery in the list in AppActivator
3. Add code to the end of stats.js to register the first timeout, IF AND ONLY IF there is an element with class "aggstats" (see my comment in stats.js

Then, the stats code will exist in every page, but will only trigger if the aggstats panel is there.