More javascript

I've added some mess at the very bottom of the page with this merge, but i want to go ahead and merge this since it's ONLY modifying the main.js....in my next branch I will work inside the .header to move the mess at the bottom into the header