fix jsdoc
@private, formatting
make vars private that no longer need to be accessed by subtypes