made another final changes to main.js file.