If you are interested in exploring the development of games on HTML5 / JavaScript, you can look at
Infinite Mario on HTML5 (temporarily not working: the host has a higher limit; a
mirror ).
The game is a clone of
this Minecraft project : the levels are generated indefinitely, only there the game was in Java (also with the
source code ), and here it was rewritten in HTML5.
Smooth game without brakes and well readable code. True, there are some glitches, for example, background music plays like only in Firefox 4.
')
If there are not enough lives, you can add via the browser JS-console:
Mario.MarioCharacter.Lives += 1024
Sources on github:
github.com/robertkleffner/mariohtml5