Adds jshint task, along with js cleanup to go with it
Adds code coverage tests and fixes