JS - removed dead code from ActivitySwitcher