problem with jasmine's xhr