(function($) {
/* some code that uses $ */
})(jQuery)