Fixing some jshint warnings.