var thisScript = document.createElement('script'); thisScript.src = 'select.js'; document.body.appendChild(thisScript);