$('#searchresults').first('span').attr('class', 'active');
$('#searchresults > span:first-child').addClass('active');