- Added Grunt.
- Refactored the code to conform to the JSHint rules.