doctypeupdated event handler
responding on doctype delete event