Mandelbrot and Julia in JS and HTML 5