Function formatting

Refactor jqClassToggleSwitch