A Chinese chess game written in Javascript