first commit of document.register pollyfill