Updated board.js