using dataflow.js for ui