                  if (img) {
                            img.onerror = function() {
                                this.onerror = null;
                                this.src = getDefaultIconUrl();
                            };
                        }

                        searchResultsContainer.appendChild(result);
                    }
                });
            }
        });


        function showLoader() {
            document.getElementById("loaderOverlay").classList.add("active");
     