Functional Reactive Programming primitives for JavaScript