added ajax to votes