Fixed jslint validations