Exporse moxie.js with module.exports