main.js file added