Actually, we can do that with "print" <script src="scriptLocation"></script> to the document. That simple.
You can do that with this code: document.write('\x3Cscript src="scriptLocation">\x3C/script>');
Note: You need to change "<" into "\x3C"
Place to put all my knowledge