Clean up the layout html