hack location.origin