Fix document.location properties on window.create (Fixes MobileChromeApps/mobile-chrome-apps#77)