document.addEventListener("DOMContentLoaded",()=>{ loadResources(); loadDomains(); loadCosts(); });