Here is events.js, a micro-library I'm writing for super easy event handling in Javascript.