The core js implementation of whatsmyip-{ios|android}.