htmlparser2's dom as a separate module