Cleaning up HTML code