Make HTML parser more compatible.
Dom config with stripDefine option.