fixed determination of project path after app.js was moved into the app directory