Integrated remoteCall javascript