event used for event delegation by data-click instead of event.target,
added element closure