create board with js