Jslint improvements