get the JS working better. It now runs the render in the browser!