Now usng Grunt to run jshint against the .js files and made fixes based on the jshint output