Java Create String Array From Nodelist In Javascript The Statement