code: function makeFunctionWrapper(original, functionName) {
    //log("wrap fn: " + functionName);
    var f = original[functionName];
    return function() {
      //log("call: " + functionName);
      var result = f.apply(original, arguments);
      return result;
    };
  }
docs: Makes a function that calls a function on another object.