replaced all $ symbols with jQuery