Stop manually mutating DOM.
Further reduce dependency on react.