Add a JSManagedValue for c++ binding