refactored Candidate.js,admin-reports.js,adminPage.js --Ravi