Added JSHint for some of the JavaScript files.