added the JavaScript files in the "public" folder to the grunt jshint list as well

Moved window.onload into the appropriate JavaScript file