[PATCH v5 02/10] jscript: Fix addressing invalid memory if ref is an argument.