Updated the behaviour so that instead of it returning a boolean it returns the number of votes to allow ajax to get a return
Enabled Ajax for voting.