Lightweight browser RPC using sockjs