var species = {}; $('document').ready(function(){ $.get( "/species", function( species_r ) { species_r.data.map(function(item) { species[item._id] = item }); $( "#body" ).load( "/templates/home.html", function(){$("#load").fadeOut("slow"); $.get("/info", function( data ) { var text = "
"+i+" | "+obj+" |