It’s valid under transitional and the errors I get while running strict have nothing to do with that part of code.
It’s the homepage, so I might as well not turn on minification : )
I set up a mirror here if you want to take a look. Email me and I can give you an admin login. It is not configured to do inline JS.