There are like a dozen javascript frameworks that people use...so why not keep the latest copy of jquery and YUI for example on the user's harddrive? Surely there is space for say, 2-3mb of different javascript libraries.
Then all you have to do is simply ignore the jquery/yui inclusion code when you render the page, and just load it from the harddrive instead.
No sweat for you, but your users and developers might actually find that when they use your browser they get a slightly faster experience.