Gamvas Web is a open source HTML5 canvas JavaScript game development framework with game states, animations, Box2D physics integration, particle emitters and more.
This is a little demo how to implement parallax scrolling. Full source of the demo is included with the engine.