index.html script fix