added js check to make sure both players selected