use removeRelativePath in app.js too