Embed the script after the page is loaded

I would guess without more details that this is the answer to achieve what they need in a simpler way:

2 Likes