#55 pass xhr object to loading event