Many jslint improvements.