account for shadowDOM polyfill