Another Sudoku clone, in JavaScript