add model and view for voting with ajax