merge client and server board.js into shared/board.js