[PATCH 4/5] jscript: Fix array ref leak when setting element.