updating changes to sync with doc.register polyfill