adding voting with ajax