I copied that code snippet. Logged into GitHub to edit the repo of the beta/test version of the website. Pasted over there in replacement of the old JS code section. This is the Git commit that implemented the aforementioned recommendation from ChatGPT: