store the JSReferenceValue instead of JSValue.