[exs] Updated the app.js to export the file for use in index.js, which can be used when the app is deployed to a hosting environment.