My javascript raytracer