Remove unnecessary HTML