Portable 'Monadic Domain' implementation in node.