BTT frezzes for 2 mins when trying to activate named trigger through javascript

Describe the bug
Sometimes when using the floating HTML window with JavaScript to activate a named trigger, BTT hangs for about 2 mins before finally triggering the named trigger. This is only happening for one of my floating HTML windows. The other floating HTML window that activates named triggers that I have works fine without any issues.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Touch Bar I guess? Thats what is used to activate the floating HTML window, but the javascript in the HTML window is that part that is having the issue.

Device information:

  • Type of Mac: MacBook Pro 2017 Touch Bar 4 ports
  • macOS version: 10.14.6
  • BetterTouchTool version: 3.202 (1378)

Additional information
Here is a link to download the packaged button that is having the issue. How it works is you go onto any youtube video and the button will appear. when you click on the button, The floating HTML window will show up and ask you to choose video or audio. (Normally this will be sent to either an audio or video download named trigger, but for the example it just links to a trigger that changes the text of the button. the same issue occurs).
When you click on the download button, the floating window closes, but BTT also stops working for 2 mins. if you hover over the icon in your top menu it will start showing the spinning loading icon. This will stay like this for a few mins, and then the text will update. (it will only show for a second as the button will check if you have youtube open every second and will change the text of the button if you are)

NOTE: The button will only show up if you are on youtube on Chrome.

If you need a video, let me know and ill make one.