listen method
Implementation
void listen(String type, EventListener handler, {bool captureThis: false}) =>
js.listen(
type,
captureThis
? allowInteropCaptureThis(handler) as dynamic Function(Event)
: allowInterop(handler));