Function.prototype.bind = function(arg) {
        var that = this;
        return function() {
            return that.apply(arg);
        };
}
