made index.html io async