function deactivateLoader() {
  const loaderArea = document.querySelector('#loader-area');
  loaderArea.classList.value = '';
}
Make the preloader near the titlebar disappear
once the task is completed.