upgraded voting system with ajax