ONP translate C++ -> JS