replaces td spans with divs