Implemented type=html validation; Drop onsubdoc feature