fixed WebSocket example missing a var.