Python String Length Function In Js Example Object