fix antichess JS warning