code: function prepareStackTrace (_, stack){
      return $.map(stack.slice(2), function(frame) {
        var _f = {
          fileName: frame.getFileName(),
          linenumber: frame.getLineNumber(),
          columnNumber: frame.getColumnNumber()
        };
  
        if (frame.getFunctionName()) _f.functionName = frame.getFunctionName();
        if (frame.getMethodName()) _f.methodName = frame.getMethodName();
        if (frame.getThis()) _f.self = frame.getThis();
  
        return _f;
      });
    }
docs: Normalise err.stack so that it is the same format as the other browsers We skip the first two frames so that we don't capture getErrorLocation() and the callee.  Used by Environments that support the StackTrace API. (Chrome, Node, Opera)