Refactored animal management JS code, also had to edit a model file because the DB didn't have the right data.