Stop observing the DOM changes and clean up all data structures
function stopMutationObserver() {
	if ( mutationObserver && mutationObserverActive ) {
		activePlaceholders = [];
		activePlaceholderEverDetected = false;
		mutationObserver.disconnect();
		mutationObserverActive = false;
	}
}