Fix: toggle button javascript