JSdoc & cleaning