adding exporting options to begin node.js support