Modifying a Span Using Hooks - an Example in Node.js