DOM implementation details example