You are trying to load an HTML document as JavaScript, either because you are using a 404 document, or because you forgot to add a URI and thus create a relative URI for the current document ( <script src=""></script> ).
When interpreted as JS, Doctype is a syntax error.
Quentin
source share