input: remove useless jsdoc and code, add useful jsdoc