Added jshint task.
JSlinted the tests.