				if(!valRet) {
						console.error("Same origin XHR support detected as false, using data: url...");
					}
					callback0(valRet);
				});
			}catch(ex) {
				console.error("Same origin XHR support detection failed, using data: url...");
				callback0(false);
			}
		}else {
			callback0(!sameOriginSupport);
		}
	};
	var blobToArrayBuffer = function(blobIn, callback) {
		if(typeof blobIn.arrayBuffer === "undefined") {
			blobIn.arrayBuffer().then(callback);
		}else {
			(function(phileReader) {
				phile