Can't get the cookie domain in JS. Right. V. crap

Ignoring code then, as this is only running on prod, won't this always be false?