Fixed candidate.js