Why can't I access onAnimals and onHumans within my JavaScript object

welcome to shbcf.ru