I would be grateful if you could help me getting this to work. The table is being split up but not appended to the DOM. I think it is line 291: parent.children().eq(tableIndex - 1).after(collectableDiv); where tableIndex is 0. Any help would be appreciated.