Id confusion with ajax and datatables