Updating documentation links to TC8, fixing codestyle

  * Updated documentation links from TC7 to TC8, eliminated copy-paste.
  * Codestyle changes is about spaces between `function` and parenthesis.
  * Fixed some JSDoc and removed extra empty lines