some jslint suggestions