change 'callback' to 'handler' so it's more obvious the function is taking a function for the event handler and not a callback function as if off and on were asynchronous functions