Update jshint tasks.

Sorry again @houqp I always forget jshint. I leave the karma open... and never execute the jshint task. Is there a way to automatize it?
This PR just solves a couple of JsHint errors