Sudoku written in JavaScript, tested with Jasmine.