convert $ to jQuery to avoid Jquery conflict