js click fixes