not capturing stackTrace if Error.captureStackTrace not exists

In Firefox (and others browsers that doesn't use V8) `Error.captureStackTrace` is not available.