Showing my good will to optimize my precious mainArticles.js file.