fix node export

Verified in node and jsio in node. Presumably works in compiled jsio...