minor jslint fixes before new build