output to index.html page