Fixed jshint errors and added script.js