emptyparagraph-plugin: add jsdoc to functions, and removed unused variables.