Arduino String Length Function In Javascript