Saving sitemap to localstorage