If Not Empty Array Javascript