simple shogi library for JavaScript