Added jshint dependency and testing
Fixed jshint errors