A polyfill for <details> tag.