It's loading the bottom half of the page, which is not in the viewport when you open the page. The entire html page, and all of the graphics indicated in html code, must finish loading before the JavaScript can load and run.
John A commented: Kindly shut up. Thank you. -3