high-level reactive-style programming in javascript