Subdirectory project: Change pedigree.js function animal_availability to use path parameter.