fix jslint warning