found bug, there was an error loading the pgn into the ches.js module