Perfecting localStorage