page loading progress bar JavaScript

for index.html