Cleaned up code in index.html a bit