recording all events on a div