Use the prefix for keys & length in localStorage

Fixes #275