Base class for all browser objects that support events.
Use the on property to add, and remove events for compile-time type checks and a more concise API.