Reactive application framework in JS