better testing with jslint