move tablesorter code