add jsdoc @private tags throughout code