Web sockets do in a web app