Fix exporting for Node.js with ymodules.