Fixed jumpiness in loading of details/summary polyfill (#2176).
Minor code cleanup.
Merge pull request #2177 from pjackson28/v3.0

Fixed jumpiness in loading of details/summary polyfill (#2176)