Vote.js: cleaned it up a little and documented.