fixed the formating of the main.js file