changing $ to jQuery so this doesn't break with prototype