applied JSHint to the JS file.