Replaced $ variable with jQuery to avoid future confusion