Adding a default hook for datatables.