Alright, let’s take a look.
Load the script from the end of the body instead of in the head
The script code is being loaded into the document header.
It really shouldn’t be done these days. You are pretty limited to load it from there.
Instead, the script should be loaded from the end of the body element instead. For instance: