adding on/off color to chess.js