added tournamentJS