Try your luck with this Javascript game engine list:
https://github.com/bebraw/jswiki/wiki/Game-Engines
Some of them are dedicated to 2D animations with sprites or Box2d physics.
Also there are commercial products for drawing 2D HTML5 animations, like http://www.sencha.com/products/animator/