Added WebSocket client-side script