gets rid of wrong chess.js