I'd say that's not really relevant, because invoking JS from other JS shouldn't really count as linking, but if you want to be cautious, you can do following:
Keep GPLed library separate from your JS code, include it via
protected by gnat yesterday
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?