update for jslint compliance