ajax request for datatables works