code: function proxyMethod(method, source, destination) {
      var oldMethod = source[method];
      source[method] = function() {
          var args = Array.prototype.slice.call(arguments);
          destination[method].apply(destination, args);
          return oldMethod.apply(source, args);
      };
  }
docs: /* Copyright 2015, Yahoo Inc.
  Copyrights licensed under the MIT License.
  See the accompanying LICENSE file for terms.