replace Minuit by WebSocket