fixed code in projects.js