Why does Firebug return an error in my doctype?
This usually happens because you are loading an HTML document as a script. This is often caused by (i.e. a relative URI pointing at the current, HTML, document)) or one of the scripts pointing to a 404 error.