Naive implementation of the javascript event system in go
Naive implementation of the JS event loop in go