var script = document.createElement('script') script.src = 'path/to/script' document.body.appendChild(script)