Seems similar to Reactive Coffee: http://yang.github.io/reactive-coffee/
Having proper components is a big win. However, it seems it requires a command line dependency to the build app, which would be nice not to: http://ojjs.org/docs.html#file-types