Adding JSDoc-style comments

Something is not quite right because the generated documentation does not
list the methods, properties, etc.