refactoring the homepage #autotune to eliminate inline styles and clean up code.