Supressed invalid html parsing with DOM Document