Java Int Array Find Javascript Array Length Undefined Google