Stricter jshint
More test coverage, linting fixes