- added support for jQuery events to make it easier to add and remove observers