Simple Sudoku in JavaScript