Json Add Json Javascript Array Length Undefined Vs Indeterminate