Rewrote server-side Datatables support to work with new DataTables version