fix jslint violation