switch button service js (no ajax action)