use connect-browser to use connect on client side