DOM builder for browser