Changed a few instances of jQuery to $

...for consistency