initialize index.html with opening screen