Fixed jshint errors and lowered unit test coverage requirement