update app.js to use new websocket uri, xhr-polling by default