Animated fireworks using HTML5 and javascript