on method
Attach event listener for Twilio Call object. See TwilioCallEvents Documentation: https://www.twilio.com/docs/voice/sdks/javascript/twiliocall#events possibly use js interop here
Implementation
@JS("on")
external void on(String event, Function callback);