fix jslint issues