javascript implementation of Xiangqi (象棋) with a westernized interface