index js moved to app.js