add main.js file