app.js embedded to index.html