updated the app.js file to export correctly