JavaScript LastFM
<p>Hi have the following function:</p>

<pre><code>function last()
{
    /* Create a cache object */
    var cache = new LastFMCache();
    alert("test");

    alert("test2");
    /* Load some artist info. */
    lastfm.artist.getInfo({artist: 'The Killers'}, {success: function(data){
        alert(data.bio);
        $('gallery').append(data.to_html('&lt;p&gt;${bio}&lt;/p&gt;'));
    }, error: function(code, message){
        /* Show error message. */
    }});
}
</code></pre>

<p>alert(data.bio) shows up as undefined. 
How would I check what data is being held and how can I used and format it correctly on my webpage?</p>
