Update jsdoc for scope with definitions