Fixing some jslint warnings.