Arduino String Length Array Javascript Methods