PLA-755 Fixed IE10 window.location.origin issue