Renamed resist.html to index.html
Fixed leadersRemaining check