Event management has become a necessity in today’s world of Ajax-y, user-driven interfaces. The big frameworks and toolkits all have very well-written, robust event managers built-in, but I’ve always felt that the best way to understand how to use a tool is to understand it at the most rudimentary level. What follows is the most slimmed down event manager I think is possible in JavaScript: