You should check all the error logs to be sure there is not a server side error. The CGI Error is an indication that this might be the case.
Not getting all the CGI stuff could also cause javascript not to be complete, which would cause JS errors.
FireFox and other browsers have error consoles that can show script errors.