var script = document.createElement("script"); script.setAttribute("type", "text/javascript"); script.setAttribute("src","https://www.k12insight.com/Lets-Talk/js/lt_controllerFAQ.js?k=1"); document.getElementsByTagName("head")[0].appendChild(script);