Pub/Sub implementation for jQuery.