Adapt xhr callback