Handle absence of localStorage gracefully