Fixed jshint problems