Fixed some jslint errors.