Fixing jshint warnings.