add a demo js specifically for interface