A very basic JS ray tracer