Delete unnecessary divs