Fix for jQuery noConflict.

For cases where jQuery noConflict is enabled and $ is not always available.