app.js get data from index.js