Fix #1 use local resources in simpledemo.html