When I tried to use in electron js I got this error: "TypeError: this._addTimestamp is not a function: