Removed all references to $, replaced with jQuery