Added jshint settings.
Fixed jshint complaints.