use mutationobserver instead

DomSubtreeModified is deprecated