pass event to repeatable js click handler