Javascript Nested Array Of Strings Java