add main to index.html