Settings localStorage key as const.
Figuring out units depending on your location via IP. Fixes #162.