for (var j = 0, jLen = votes.length; j<jLen; j++) {
                dates.push(votes[j].vote_date);
            }