Fix websocket onopen alert