It is very unclear with Javascript what a derived work is and what linking means, unlike C. You could argue that your whole website would become GPL if you linked with jquery under GPL terms, including the text, logos etc, even though most people do not want to put documentation under GPL (because of the attribution terms).