Node JS version of DWF