fixed JS toggle not working