[PATCH] jscript: Use global accumulator for storing function call results.