made the code easy to read for par_globs.js, getparents.py, and parents.sql