Bug 1004073 - Refactor EventDispatcher usages; r=fennec-team