Pass event.target to onclick callback