initial app.js and index page