Added gruntfile to run jshint and made some tweaks to fix jshint issues