Real-time chess game with collie.js