fix a couple more minor jslint issues