Move jsdoc up due to dependency issue
Fix lints issues
Refactoring some names and conventions
Iterate only one time over inputs to clean. Some refactoring