dom-construct: added HTML5 patch for IE6-8 browsers, !strict, fixes #11808.