Added missing CT bug fixes to ToggleSwitchControl.js

The CT team introduced some bug fixes to ToggleSwitchControl.js which are not present in BRJS

This PR simply adds those fixes in