remove usage of "$", use "jQuery" instead

avoids "Uncaught TypeError: cannot read property ... of undefined"