Make some improvements on Mandelbrot Explorer

 * Create functions in cl_gl.js file
 * Allocate the correct size for the output buffer.