A toy evented system where you can use javascript-like syntax to schedule things onto a run loop