It is through ExecJS[1] which allows different Javascript backends.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;rails&#x2F;execjs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rails&#x2F;execjs</a>