separate demo.html into two files