jslint snippet typo