Animals: json to js