Completed mechanism of event handlers and dispatchers for Window object