* fixed an error in board.js.