Your always accessing this as `wrapper.parentNode`. Let's just query for `document.querySelector( ".body-wrapper" )` and go with that since it's the parentNode.