Add linting

Hello.
You created a great package, thank you for that.
Messing with the source code I got my editor whining about some jshint warnings, so I added a grunt task & linted some files. Even though I don't know your opinion on linters, I decided to save you some time in case you decide to be jshint compatible. Used standard jshint config, tested code working using examples. As to the code change, those were mostly trailing spaces & semicolons. Wasn't sure about nested `j` thing, though.
Also, if you're interested, I can add travis config for linting & running examples/nodejs/test.js & verifying output.