javascript and jquery toggle for pinfall