Fixed jslint errors.