Graceful localStorage