added ajax to voting page