added grunt.js
fixed some jshint issues
add mocha to gruntfile