set up tounament page and reworked jquery includes