Add javscript to allow users to join tournaments as part of a team