Improved Javascript formatting
Changed styling of homepage.