to index.html before main.js