added js converter to multi array