Make metabio.taxonomy.js more DRY