Updated jQuery functions for table category naming to work with Tablesorter.