Polyfill document.baseURI for IE