Corrected jshint errors