Removing unwanted divs in the template