[PATCH v3 1/4] jscript: Reference-count the named items.