Shadow Boy Adventures – HTML5 Game
If you are looking for a nice template to create your own game like Limbo, Super Mario Bros, Sonic or Donkey Kong, this is it. This is a complete template with all the features from popular games in the same genre.
The code is well commented and organized. It is very easy to take it and turn into any platform game you desire.