popup js added, default team selection