Fix for ie in Url Changer, replaced document.location.origin, origin is undefined on ie

Signed-off-by: Pascal Piche <pascal@nitriques.com>