Extract switchers.js rendering into a new function.
#280
+25
−15
switchers.js rendering into a new function.
#280