Test MouseEvent and CustomEvent globals