Change $ to jQuery to work in noConflict mode