temporarily moved out string calc from dojos repo