obj.Apply on IE doesn't handle nulls

It expects objects; and so fails at the point where we are inspecting
the geoip cookie (which currently doesn't exist) and the regex returns
null.

Change-Id: I3aafd584fb4b4d15bfe82c6550c648006915c144