Bash Turn String Into Array Javascript Iterations Of The Mandelbrot