code: public static <T> T runJavascriptFunction(JavaScriptObject o, String meth, Object... args) {
      return runJavascriptFunctionImpl(o, meth, JsObjectArray.create().add(args).<JsArrayMixed>cast());
    }
docs: Call via jsni any arbitrary function present in a Javascript object.
  
  It's thought for avoiding to create jsni methods to call external functions and
  facilitate the writing of js wrappers.
  
  Example
  <pre>
  // Create a svg node in our document.
  Element svg = runJavascriptFunction(document, "createElementNS", "http://www.w3.org/2000/svg", "svg");
  // Append it to the dom
  $(svg).appendTo(document);
  </pre>
  
  @param o  the javascript object where the function is, it it is null we use window.
  @param meth the literal name of the function to call, dot separators are allowed.
  @param args an array with the arguments to pass to the function.
  @return the java ready boxed object returned by the jsni method or null, if the
  call return a number we will get a Double, if it returns a boolean we get a java
  Boolean, strings comes as java String, otherwise we get the javascript object.
  
  @deprecated use jsni instead.