Make javascript tweaks as per jshint task.
Fix config for newer version of Karma.
Fix command in README.
Merge pull request #1 from gunn/master

fix(grunt): fix build