Added Javascript animals base class