fix ie location.origin