jslint small fixes