A bit of documentation

I try to apply JSDoc style.