Fixes path vs. fs issue in app.js