sorry....

potresti provare con document.write(<script>)...

dovrebbe funzionare....