refact code
rename index.html to demo.html