making localStorage function even when quota is hit