a ray tracer in javascript