support for localstorage
Merge pull request #490 from ricardclau/store_api_key

Add support for LocalStorage