A cross-browser polyfill for the W3C Custom Elements API