— But ehh, you can include nodejs event emitters as part of a browser bundle
— Which might be better, since DOM event emitters are usually HTML elements
— Https://github.com/asyncly/EventEmitter2
— But might be overkill for your use-case :P
— You could also create a DOM element outside of the document body and just use that
— It's absolutely an overkill
— But ehh, I'd rather use monadic types :P
— Oh my!!! i didn't notice that! thanks alot. let me check to see if it works after correction :)