Julia sets and the Mandelbrot set via HTML canvas