simplify js ident setup
jslint snippet