Update rpc-client.js