Lazy loading depends on the type of ads you add to the webpage. If a javascript ad do document.write while the content document is already closed, it breaks.
It may be worth to think about this … maybe it is possible “before” the document gets closed.