Algorithm added to dashboard.js to decide level of each project.