add main config.js file