Magento is an insanely flexible system that has a lot of potential, but of course with this flexibility comes a lot of learning.
We setup a reference and use the name=”head” and then we’re able to add whatever actions that we would like. It’s fairly simple and makes use of XML, so be careful with closing tags.
<reference name="head"> <action method="addItem"> <type>js</type><script>yourjsfile.js</script> </action> </reference>
Hope this helps!