chqanged websocket cs4 to match changes in app.js