Adding Ajax to voting