My code below is how I add the jquery-3.5.1.min.js to the head of the website along with embeddedCPC.js
var scriptOne = document.createElement("script");
var scriptTwo = document.createElement("script");
scriptOne.setAttribute('src', '/scripts/api/vendor/jquery-3.5.1.min.js')
scriptTwo.setAttribute('src', '/scripts/embeddedCPC.js')
document.head.appendChild(scriptOne);
document.head.appendChild(scriptTwo);
Apparently you don't have the files under those addresses on the server