Create js array of latlon objects