This content will show up before the browser popup, and you can still read this content after the popup, too.

This is happening because I placed the Javascript file at the end of the HTML document. The code inside the Javascript file is executed after the page is loaded.

That is why we are calling this javascript code a non-render-blocking script.