A simple example of using the pub/sub design pattern with jQuery.