changes to board.js