changed comments to meet JSDoc