start logic to load libs via XMLHttpRequest