Replacing table markup with generic div