Fix votes.js syntax error - all votes functionaility works