You need to simply modify the header.tpl ... NOT the head.tpl file...
Add the HTML or Javascript to that template and try it. May need to move it's location in the code until your satisfied.
Make sure you make a back up copy of the header.tpl FIRST, in the event you blow it up with the change.