add polyfill for browsers that doesn't support 'text/html'-typed DOMParser