DOM event object and utilities