Moved delete transition inside of ajax.done