Add an incomplete JSDoc template
Replace remaining "built-in" code with templates
Add parameters and return values to the templates
Change the page template name
Remove some log messages, fix templates