html imports: fix broken demo. Update demo to use a template