Working automatic documentation generation with the newest version of jsdoc (3.2)

To generate the documentation, grab the newest version of [jsdoc](https://github.com/jsdoc3/jsdoc), add the executable to your PATH and use
```
make documentation
```

I've changed the old style of jsdoc comments since the new version spat up errors.