correction code for test jslint