Replaced instances of $ with jQuery