refactor Javascript for multiple animals and races
Merge pull request #5 from CharlesGust/refactor

refactor Javascript for multiple animals and races