Update project.js

added file editor on file click