I added the load DOM listener to the mainScript.js and added a hotlink to google's copy of the latest version of jquery to index.html