Fixed main.js exports.