So this has been down for long enough and bugging me enough that I made a new one. It's not a direct copy, mainly because I didn't have a good enough reference, but it does similar things. You can find it here:
artofcode.co.uk/electionsartofcode.co.uk/elections
The source for it is on GitHub, if you're interested.