Store wrapped event handler against element itself, rather than in hashtable in DOM code.