Hi, this is Hugh from Fabrik.
@neo - the popup is loading a lot more than "just a few divs".
We do a tmpl=component load of a Fabrik form view. Which could just be a few divs, or it could be hundreds of divs with thousands of lines of JS, multipage forms, with AJAX validation, etc etc.
However, I don't think that's the issue. The problem is that both of us are defining 'jquery'. In the yjsg.site.plugin.js, you test to see if 'define' is a function, define.amd exists, and if so, define(['jquery'],...). And unfortunately, we also define jquery.
It doesn't blow up on the main page load, because define isn't yet defined. But in our popup load, define is now a function, so your code attempts to define jquery.
I'll do some more experimenting and get back to you.