Added jshint, clean, browserify, watch tasks to grunt.
Fixed errors caught by jshint.