#24 avoid TypeError: 'null' is not an object (evaluating 'document.body.querySelector()')