fix a couple of jshint nits while I'm here (not all)