SOC-3994: [IE] window.location.origin return undefined on IE .