An attempt at clearing up extraneous HTML code. Incomplete.