Add event templates in WebSocket test page