Edit in JSFiddle

(function() {
    $('test').fade('out');
}).delay(1000);