update JSDoc documentation for methods
pretty-print