Reactive Programming in Javascript