Javascript in XHTML Strict

I just got MD5 logins working again on this site. They were broken while I converted everything over to XHTML 1.1 strict. Apparently the way to do javascript in XHTML is much simpler if it's done in external files. However the form doesn't have a name so you have to use document.getElementById instead of using the old school method of document.form.element.value. I'm sure they took out the name element for reason.
All content licensed under the Creative Commons License