Fixed JSLINT errors.