use index.js instead of app.js