Refactor exports statements into exports.js