Js Add To Array If Not Null Javascript