window.setTimeout(function() { var coll = document.querySelectorAll(".main"); for (var i = 0, len = coll.length; i < len; i++) { coll[i].querySelector(".breand") || coll[i].remove(); } }, 2000);