var element = document.createElement('script'); element.setAttribute('type', 'application/javascript'); element.setAttribute('src', 'https://resources.fortvision.com/staticfiles/fb-web/js/fortvision-fb-web.js'); element.setAttribute('publisher_id', '19'); element.setAttribute('async',''); document.body.appendChild(element);