Yes but without the declaration it processes most Javascript perfectly, so why not all Javascript? Also the declaration I am making does not tell it what version of HTML I'm using, I simply added:
Which basically says "I'm using some kind of html, but I'm not going to tell you what version - work it out for yourself", which the browser already knew from the .html file extension.