<script>
var date = new Date();
var year = date.getFullYear();
for(var i=0;i<10; i++){
$('<a href="#" class="list-group-item">'.append(year-i).'</a>').appendTo( ".list-group" );
}
</script>
$('<a href="#" class="list-group-item" />').append(year - i).appendTo('.list-group');