[PATCH 4/4] jscript: Support nested scopes for functions defined inside.