deleting allocations over ajax