Mediaflow Node + Browser JavaScript implementation