project.js cleaning