Remove garbage DOM tags from HTML output