Add check for DOMCharacterDataModified event