code: function inheritPrototype(A, B) {
          var F = function () {};
          F.prototype = B.prototype;
          A.prototype = new F();
          A.prototype.constructor = A;
      }
docs: Function that does exactly the same as the mout counterpart,
  but is faster in firefox due to a bug:
  https://bugzilla.mozilla.org/show_bug.cgi?id=816439