Added document.querySelector and Element.removeChild