Get First Item From Array Javascript Example