Data = storage.getItem('gee_main_datasets');
            const cachedCommunityData = storage.getItem('gee_community_datasets');
            const cacheTimestamp = storage.getItem('gee_datasets_timestamp');
            const cacheExpiration = 24 * 60 * 60 * 1000; // 24 hours in milliseconds

            // Load search history
            loadSearchHistory();

            // Initialize from cache or fetch new data
            if (cachedMainData && cachedCommunityData && cacheTimestamp && (Date.now() - parseIn