Fixes a bug with Webos.require().
Adds jshint to test task in Gruntfile.