jsonrpc over webockets library for javascript