Draft on javascript event handlers (DOM level 1).