Change JDispatcher to JEventDispatcher for 3.x support