Fixed some jshint errors
Fixed some jshint errors