Update project.js

basic text editor functionality