I agree about the need to edit <head></head> content.

However, in this case I would reduce it to a simple reference to an included file in the form of:

<script src="/js/myjscript.js" type="text/javascript"></script>
Yes, that would work. Thanks.