Added functionality

index.html and app.js