This page demonstrates some HTML5 code that the upcoming version of Scrolling Game Development Kit can produce (not yet released as of 10/23/2011). All the code and data are embedded in a single HTML file, and there is no compiled code running. View the source and see for youself.
Click and drag to scroll around the map. Although SGDK2 is a complete game engine, the only code that it will currently output to HTML5 format is for drawing and srolling the maps defined in the project.