Python Pathlib Get Children Javascript