Cleaning up composer html code