Add jshint and edit rakefile
Fixed some jshint notices