Of course Rails took YEARS getting to the point of scalability. People are acting like it was scalable on the very first alpha release.
https://en.wikipedia.org/wiki/V8_%28JavaScript_engine%29
V8 increases performance by compiling JavaScript to native machine code (x86,[2] ARM,[2] or MIPS[3] CPUs), before executing it, versus executing bytecode or interpreting it. Further performance increases are achieved by employing optimization methods such as inline caching.