Fixed #1154: Add MouseEvent and CustomEvent browser globals