clearing the html both ways