javascript fix for tablesorter