Update lib/board.js