Rewrite. Use websockets and React. Happy.