We went with jQuery in no conflict mode when we needed to mix jquery and the prototype lib for ads.
from the docs:
var j = jQuery.noConflict();
// Do something with jQuery
j("div p").hide();
// Do something with another library's $()
$("content").style.display = 'none';
from the docs: