implement custom on-method that can be used with middlewares
use domo's own on-method to listen basic events