internet explorer does not like window.location.origin

joe/bug/JI-600-ie