Javascript Check If Array Contains Subarray With 0