Removed shims as window.location.origin is no longer used.