docs: add Gratipay badge
build: some jsdoc improvements