Cleaning up HTML syntax