improved ajax voting