Small PHP/JS tournament app