add script into demo.html