renamed index.js as app.js