refactoring add jsdoc configuration.