Add some basic jsdoc based documentation, issue #64, part 4