Changing board array to window.board because chrome is weird and console.log's the board html element