Edit in JSFiddle

$.extend({
    sayi: function() {
        return Math.random();
    }
});

alert($.sayi());