Fixed jshint warnings.