fix: fixes domRegistry for old browsers. up for comments and review in Github PR
Merge pull request #394 from mariomc/registerInstance

fix: fixes domRegistry for old browsers. up for comments