Created main.js file