Adds conversion from JsArray to Java arrays