Reducing and rewritting index.html in order to set reasonable default settings.