refactored admin-reports.js removed duplicate pattern for rendering charts --Ravi