I need JavaScript array/multidimensional which is returned by Java class,
your can use json lib, on http://json.org there are many json librarys, i.e.
int[] arr = new int [] {1,2,3}; // java
convert to:
var arr = [1,2,3]; // javascript