Create Array From Object Properties In Javascript The Xy