Implementing the observer pattern in jQuery