fix javadoc and jsdoc warnings for release 7.0.4