replaced $ with jQuery