Add DOMParser compatibility with chrome.