Javascript See If Array Null