Automatic Links custom code works only on specific pages

Hello! I’m hoping this forum of wonderful people can help me out… I’ve edited a piece of JS code for automatic link previews. On a ‘test page’ I built within my site it works fine, but once I add it to the page where I want it, ‘what we do’ it doesn’t work anymore.

I’ve included a read-only link

I’m probably being rubbish but I’ve removed other pieces of custom code from the same page, assuming that might be the problem - I’ve scanned for page settings that might be different and can’t spot any.

Grateful - thank you!

Here is my site Read-Only: [LINK][1]