Implement partial web components polyfill.