correction jslint violations