Rebuild HTML