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