Dataweave String Length Function In Javascript