Add some JS switches