Write documentation with JSdoc