Hi @opticshrew
By Default JS extension is blocked in Portals. I believe even if you refer to a third-party JS library in your HTML. Portals will prevent JS extension.
To confirm try the following
In Portal management:
1. Settings > Advanced Settings
2. Under Administration > System Settings > General
3. Make sure JS is added on the list

Trace the Network call to see if your attached HTML is making a call to a third-party API.
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.