Move vote count maths to before XHR. Implement reversing on error.