improve dom demo

improve dom demo