correctly highlighting js function names