add loading gif in index.html