Fixed index.html and made code look nicer