fix up module.exports for node