Updated for jQuery versioning.