adding grunt.js and jshint tasks
some code cleanup / linting