Ray and IntersectionInfo turned into plain javascript objects for speed increase

Not sure if this PR fits the benchmark philosophy or not (how far can we push handmade JavaScript optimizations? is that fair?), anyway turning these two classes into plain objects seems to increase the speed by ~15% in cold run tests. 

Just trying to help the performance of `Tracer.js` as it's the only benchmark where JS is behind `dart2js`.