minor tweaks to appease jslint