These are programs I wrote from scratch using only basic Javascript and HTML. I hope you like them.
Jamines is a clone of the classic Minesweeper game. I enhanced it by including some unusual modes such as mod-2 mine display and unsafe mode (I forgot what that does though).
Znocks is a game where you obtain points by clicking four squares of the same colour in a grid, where the squares have to form the vertices of a rectangle. This is basically a clone from a game available for the Nokia N810/N900.
Jasudoku is a Sudoku solver. It should solve most Sudokus. Okay, this is not actually a game. But it can help you figure out a game.