adding main.js file