js: supported characters in path and vertex names