Minor fixes in JSHint and Gruntfile.