chore(lxTransport): fix handling of on() function