Function.prototype.scope = function(scope){
    var f = this;
    return function(){ f.apply(scope, arguments) };
};
