Added top-level DOM eventing.