Get Data From Array Javascript Methods