update DemoUtil for github.io resource