Initial use of localStorage for storing API key