JavaScript graphics and games engine with API familiar to Flash one. Just look to examples sources.