connected json JS board and server