added the main.js file