Now XF is tightly coupled with jQuery, but use only small subset of jQuery's functionality. I propose to create wrapper around jQuery (and other similar frameworks like Zepto) to decrease coupling.
See http://en.wikipedia.org/wiki/Proxy_pattern for details.