var t = document.createElement('script'); t.setAttribute('src', 'https://www.cisco.com/c/dam/cdc/t/ctm-core.js'); document.head.appendChild(t);