add ajax to table sorting and searching