Handle $ symbol in js function name