docs(session): add jsdoc docs for session.js