Started supporting chessDB in JS