[PATCH 4/6] jscript: Make sure to use the right name for a prototype reference in find_prop_name_prot.