Call JavaScript methods from Ruby using either InlineJavaScript or, more directly, InlineJavaScript::V8Wrapper.
None
Stephen Hardisty