Revert changes to index and app.js

- There was an error with the webserver, so I had to remove
xmlHttpRequest and hard code the stuff.