demo.html and index.html initialized