Shift over voteCalc to site.js