JS + HTML + CSS Tidy

Cleaned up code to be as readable as possible.