jquery compatibility mode code example
Example 1: jquery noconflict
var dom = {};
dom.query = jQuery.noConflict( true );
Example 2: jquery safely use $
(function($) {
// $ Works! You can test it with next line if you like
// console.log($);
})( jQuery );