middle level virtual-dom binding for purescript