Adapting index.html