updated mediacrush code to use RES's abstracted xhr