fixed ajax vote increment issue

Updated so that the vote count will correctly increment