Refactor jQuery usage working with DOM.
Fix bug in event routing.
Add event logging in EventRouter mock.