jscript: Also add function name to its detached scope in ES5 mode.