Update connectivitySwitchService.js

Don't use language reserved words as variable name