function loadDriftWidgetOnScroll() { LoadDriftWidget() ; window.removeEventListener('scroll', loadDriftWidgetOnScroll); } window.addEventListener('scroll', loadDriftWidgetOnScroll);