Add jshint to grunt tasks and fix complaints.