jQuery plugin for XHR/pubsub magic