Improved performance of datatables