Bacon.js rewrite work in progress