Add loop log to index.html