kotlin-stdlib / org.w3c.dom / WebSocket / onopen onopen JS 1.1 var onopen: ((Event) -> dynamic)?(source)