jquery plugin that provides a way to notify parents of different types of callbacks defined by the plugin user