jslint snippet