app to index.html