loader code, index.html