Remove unnecessary HTML tags/attributes