Fixed a few jslint errors.