I have a tag in my header, and it works fine. I'm not sure why yours is giving you a javascript error.
public_common.pl is mostly HTML, just with some CGI variables and stuff thrown in. Open it up, and find:
Add your body tags into that line correctly. The line also appears again about a page or two down, so be sure to add it to the second instance of that line too.
---Skorpion