Index cleanup

Refactor CSS and JS