Move off React and into raw javascript. React is too unstable in atom at the moment.