Removes Bogus div and adds right html tag for navigation.