fixed errors where $ alias was used instead of jQuery. Useful for WordPress sites that use jQuery in no conflict mode