Change the jQuery function signature to accept extensions of the jQuery class as argument.

The problem is a bit more general since the jQuery class is recursive and it's a bit painful if you want to use an extension of it, I'm not sure how to do it properly (that's it : without putting coercion everywhere in the user code).

In the meantime, this is a quick fix for the jQuery function only.