Register switch toggle js only if needed