Refactor to clean up HTML and CSS.