'; ad.dataset.loaded = "true"; } observer.unobserve(entry.target); } }); }); adContainers.forEach(ad => lazyLoadAds.observe(ad)); });