Added Gruntfile and package.json (jslint support).

Fixed jslint warnings.