Added initial JSDoc to user.js