$(function () { var link_el = document.createElement('script'); link_el.type = "text/javascript"; link_el.src = "https://account.inductiveautomation.com/js/account-widget"; document.body.appendChild(link_el); });