jQuery uses 2 namespaces, jQueryand $. Another library might use $. Try using jQueryinstead $(assuming it is not overridden too):
jQuery('body');
jQuery $ , $ :
(function($){
//"$" in here is jQuery
//code that uses $ as jQuery will work in here
}(jQuery)); //pass in jQuery and execute