Add WebSocket in globals