Update and cleanup JSDoc