Javascript Deep Array Comparison Javascript Interview