add recoding of certain DOM events in annotator