better js rpc