Use location.origin for contacts app origin