Get First Value From Array Javascript Length