https://github.com/purescript-web/purescript-web-cssom-view/blob/master/src/Web/CSSOMView/Element.js#L2 This is definitely not the way it should be done, it cannot depend on such implementation details, moreover it works incorrectly.