added contract deleting with ajax