Clean up HTML structure