added jslint snippet