Lightened projectsList.js by moving functions to categories and projects