additional jslint fixes