jslint improvements