Move code from tournament_add.js to tournament.js (#22) ( #28)