Parse data-URIs instead of using XMLHttpRequest

Firefox is the only browser that loads data-URIs through XHR.
data-URIs cannot be loaded in Chrome, Opera, IE and Safari.