Fixing jshint violations
Adding tests to be linted