Arduino String Length Array Javascript Function Call