if (debug) console.log('%cStart drawing UI', boldLogging); const uiScripts = [ 'ui/drawContainer.js', 'ui/loading.js', 'ui/pageAmount.js', 'ui/jumpToPage.js', 'ui/pagesToDisplay.js', 'ui/toggleUiWhenPrinting.js', ]; loadScripts(uiScripts, 0, true);