More js switches