sample js click handler