Another compatibility hold-out. Details in https://github.com/scala-js/scala-js-dom/issues/597.