[JS] Remote actor

Implementation and tests in progress