use main.js and config.js for sea.js