added onload method in body on index.html